package kr.co.thornbacksoft.androidgames.framework.impl;

import kr.co.thornbacksoft.androidgames.framework.Game;
import kr.co.thornbacksoft.androidgames.framework.Screen;

public abstract class GLScreen extends Screen {
	protected final GLGraphics glGraphics;
	protected final GLGame glGame;

	public GLScreen(Game game) {
		super(game);
		glGame = (GLGame) game;
		glGraphics = ((GLGame) game).getGLGraphics();
	}

	@Override
	abstract public void update(float deltaTime);

	@Override
	abstract public void present(float deltaTime);

	@Override
	abstract public void pause();

	@Override
	abstract public void resume();

	@Override
	abstract public void dispose();
}
